/*
 * main.cpp
 *
 *  Created on: Feb 22, 2013
 *      Author: root
 */
#include "BeagleStates.h"
#include "StateMachine.h"



bool debug = false;



int main() {
	StateMachine s;
	if(!debug)
		s.setCurrentState(ScanDocks::instance());
	if(debug)
		s.setCurrentState(Debug::instance());
	while(s.getRun()){
		s.Update();
	}

	return 0;

}

